<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<% String context = request.getContextPath(); %>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>公车管理</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css">
    <%--<link rel="stylesheet" href="css/bootstrap.min.css"/>--%>
    <!-- 可选的Bootstrap主题文件（一般不用引入） -->
    <link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap-theme.min.css" rel="stylesheet"
          id="bs-theme-stylesheet">
    <%--<link rel="stylesheet" href="css/bootstrap-theme.min.css"/>--%>
    <link rel="stylesheet" href="css/main-default.css"/>
    <link rel="stylesheet" href="css/map-default.css"/>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
    <%--<script src="js/jquery-1.11.1.min.js"></script>--%>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <%--<script src="js/bootstrap.min.js"></script>--%>
    <script src="js/typeahead.jquery.min.js"></script>
    <script src="js/typeahead.bundle.min.js"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=1.4"></script>
    <script>
        var CONTEXT = '<%=context %>';
    </script>
    <script type="text/javascript" src="js/DateUtil.js"></script>
    <script type="text/javascript" src="js/md5.js"></script>
    <script type="text/javascript" src="js/gpsooSDK.js"></script>
    <script type="text/javascript" src="js/car-common.js"></script>
    <script type="text/javascript" src="js/car-main.js"></script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="<%=context %>">公车管理</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse navbar-ex1-collapse">
        <ul class="nav navbar-nav">
            <li><a href="javascript:window.location.reload();">立刻刷新</a></li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">车辆跟踪<b
                        class="caret"></b></a>
                <ul class="dropdown-menu" role="menu">
                    <li>
                        <form class="navbar-form" role="search">
                            <div class="form-group">
                                <input type="text" class="form-control typeahead" id="follow_key"
                                       placeholder="车牌号/所属部门/车辆型号">
                            </div>
                        </form>
                    </li>
                </ul>
            </li>
            <li><a href="#">车辆控制</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right" style="padding-right:20px">
            <li>
                <form class="navbar-form" role="search" id="car_search">
                    <div class="form-group">
                        <input type="text" class="form-control typeahead" placeholder="Search" id="search_key"
                               autofocus="autofocus">
                    </div>
                    <button type="submit" class="btn btn-default ">搜索</button>
                </form>
            </li>
            <li><a href="#">关于开发</a></li>
        </ul>
    </div>
    <!-- /.navbar-collapse -->
</nav>
<div id="container">
    <div id="alertDiv" class="col-md-3 col-md-offset-9"></div>
    <div id="mapDiv">
    </div>

</div>
<div id="bottom">
</div>
</body>

</html>
